package com.wavehi.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @Author WaveHi
 * @Date 25/9/2021 上午 9:45
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageForNav<T> {
    public static final Integer PAGE_SIZE = 3;          //每页的默认数据量
    private Integer             pageNo;                 //页的序号
    private Integer             pageTotalCount;         //页的总数
    private Integer             pageSize = PAGE_SIZE;   //每页的数据量
    private Integer             dataTotalCount;         //总数据量
    private List<T>             datas;                  //需要显示的数据
    private String              url;                    //页面路径

}
